package com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.rule;

import com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.BasicRule;
import com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.context.UserPortrait;
import com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.context.UserPortraitRuleContext;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

/**
 * @author zhouliang
 * @date 2021/1/23 15:23 【规则4：根据用户的活跃度进行资源过滤，具体逻辑省略】
 */
@Component
public class UserPortraitRule extends BasicRule<UserPortrait, UserPortraitRuleContext> {
  @Override
  public boolean evaluate(UserPortraitRuleContext context) {
    return false;
  }

  @Override
  public void execute(UserPortraitRuleContext context) {}
}
